//
//  MyMark.m
//  timelyRain
//
//  Created by Jiafei Wei on 16/9/30.
//  Copyright © 2016年 Jiafei Wei. All rights reserved.
//

#import "MyMark.h"
#import "KNCirclePercentView.h"
#import "MBTUiColor.h"
#import "TagBlackNumber.h"
#import "TagStrangeNumber.h"
@interface MyMark ()
@property (weak, nonatomic) IBOutlet KNCirclePercentView *blackNumber;
@property (weak, nonatomic) IBOutlet KNCirclePercentView *markNumber;
- (IBAction)blackNumber:(id)sender;
- (IBAction)unknow:(id)sender;

@end

@implementation MyMark

- (void)viewDidLoad {
    [super viewDidLoad];
    [super setTitleView:self.view withName:@"我的标记"];
    [self.blackNumber drawCircleWithPercent:100
                                               duration:2
                                              lineWidth:15
                                              clockwise:YES
                                                lineCap:kCALineCapRound
                                              fillColor:[UIColor clearColor]
                                            strokeColor:[UIColor colorwithHexString:@"#1588D9"]
                                         animatedColors:nil];
    self.blackNumber.percentLabel.font = [UIFont systemFontOfSize:35];
    
    [self.markNumber drawCircleWithPercent:100
                                   duration:2
                                  lineWidth:15
                                  clockwise:YES
                                    lineCap:kCALineCapRound
                                  fillColor:[UIColor clearColor]
                                strokeColor:[UIColor colorwithHexString:@"#1588D9"]
                             animatedColors:nil];
    self.markNumber.percentLabel.font = [UIFont systemFontOfSize:35];
    
    
    
    [self.blackNumber startAnimation];
    [self.markNumber startAnimation];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}
- (IBAction)blackNumber:(id)sender {
    TagBlackNumber *mark =[[TagBlackNumber alloc]init];
    [self.navigationController pushViewController:mark animated:YES];
}

- (IBAction)unknow:(id)sender {
    TagStrangeNumber *mark =[[TagStrangeNumber alloc]init];
    [self.navigationController pushViewController:mark animated:YES];
}
@end
